.class public Lcom/xingbook/park/activity/SNSShareActivity;
.super Lcom/xingbook/park/activity/BaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/sina/weibo/sdk/api/a/h;


# static fields
.field private static d:Lcom/xingbook/c/q;

.field private static g:Lcom/xingbook/park/activity/bm;


# instance fields
.field public a:I

.field b:Lcom/tencent/mm/sdk/openapi/f;

.field private c:Lcom/sina/weibo/sdk/api/a/i;

.field private e:Lcom/tencent/tauth/c;

.field private f:Lcom/xingbook/ui/XbShareView;

.field private h:Landroid/widget/RelativeLayout;

.field private i:Lcom/tencent/tauth/b;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseActivity;-><init>()V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->c:Lcom/sina/weibo/sdk/api/a/i;

    new-instance v0, Lcom/xingbook/park/activity/ba;

    invoke-direct {v0, p0}, Lcom/xingbook/park/activity/ba;-><init>(Lcom/xingbook/park/activity/SNSShareActivity;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->b:Lcom/tencent/mm/sdk/openapi/f;

    new-instance v0, Lcom/xingbook/park/activity/be;

    invoke-direct {v0, p0}, Lcom/xingbook/park/activity/be;-><init>(Lcom/xingbook/park/activity/SNSShareActivity;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->i:Lcom/tencent/tauth/b;

    return-void
.end method

.method static synthetic a()Lcom/xingbook/park/activity/bm;
    .locals 1

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    return-object v0
.end method

.method static synthetic a(Lcom/xingbook/park/activity/SNSShareActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->c()V

    return-void
.end method

.method public static a(Landroid/app/Activity;Lcom/xingbook/c/q;Lcom/xingbook/park/activity/bm;)Z
    .locals 2

    if-eqz p0, :cond_1

    if-eqz p1, :cond_1

    sput-object p1, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    if-eqz p2, :cond_0

    sput-object p2, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    :goto_0
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/park/activity/SNSShareActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    const/4 v0, 0x1

    :goto_1
    return v0

    :cond_0
    const/4 v0, 0x0

    sput-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    goto :goto_1
.end method

.method static synthetic b(Lcom/xingbook/park/activity/SNSShareActivity;)Lcom/tencent/tauth/c;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->e:Lcom/tencent/tauth/c;

    return-object v0
.end method

.method static synthetic b()Lcom/xingbook/c/q;
    .locals 1

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    return-object v0
.end method

.method private b(Z)V
    .locals 4

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    if-eqz v0, :cond_1

    if-eqz p1, :cond_0

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    iget v1, p0, Lcom/xingbook/park/activity/SNSShareActivity;->a:I

    invoke-interface {v0, v1}, Lcom/xingbook/park/activity/bm;->c(I)V

    :goto_0
    invoke-direct {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->c()V

    :goto_1
    return-void

    :cond_0
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    iget v1, p0, Lcom/xingbook/park/activity/SNSShareActivity;->a:I

    const/16 v2, -0x3e8

    const-string v3, "\u5206\u4eab\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01"

    invoke-interface {v0, v1, v2, v3}, Lcom/xingbook/park/activity/bm;->a(IILjava/lang/String;)V

    goto :goto_0

    :cond_1
    if-eqz p1, :cond_2

    const-string v0, "\u5fae\u535a\u5ba2\u6237\u5f02\u5e38\uff0c\u8bf7\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\uff01"

    const/4 v1, 0x0

    invoke-static {p0, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    :goto_2
    invoke-direct {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->c()V

    goto :goto_1

    :cond_2
    const-string v0, "\u5206\u4eab\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_2
.end method

.method static synthetic c(Lcom/xingbook/park/activity/SNSShareActivity;)Lcom/tencent/tauth/b;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->i:Lcom/tencent/tauth/b;

    return-object v0
.end method

.method private c()V
    .locals 0

    invoke-virtual {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->finish()V

    return-void
.end method

.method private d()Lcom/sina/weibo/sdk/api/TextObject;
    .locals 6

    new-instance v1, Lcom/sina/weibo/sdk/api/TextObject;

    invoke-direct {v1}, Lcom/sina/weibo/sdk/api/TextObject;-><init>()V

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v0, v0, Lcom/xingbook/c/q;->d:Ljava/lang/String;

    sget-object v2, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v2, v2, Lcom/xingbook/c/q;->e:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v3

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v4

    div-int/lit8 v4, v4, 0x2

    add-int/2addr v3, v4

    add-int/lit8 v3, v3, 0x1

    const/16 v4, 0x8c

    if-le v3, v4, :cond_0

    new-instance v3, Ljava/lang/StringBuilder;

    const/4 v4, 0x0

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v5

    div-int/lit8 v5, v5, 0x2

    rsub-int v5, v5, 0x87

    invoke-virtual {v0, v4, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {v3, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v0, "..."

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_0
    iput-object v0, v1, Lcom/sina/weibo/sdk/api/TextObject;->g:Ljava/lang/String;

    return-object v1

    :cond_0
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {v3, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method private f()Lcom/sina/weibo/sdk/api/ImageObject;
    .locals 3

    new-instance v0, Lcom/sina/weibo/sdk/api/ImageObject;

    invoke-direct {v0}, Lcom/sina/weibo/sdk/api/ImageObject;-><init>()V

    sget-object v1, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    invoke-virtual {v1}, Lcom/xingbook/c/q;->a()Landroid/graphics/Bitmap;

    move-result-object v1

    if-nez v1, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f020209

    invoke-static {v1, v2}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    :cond_0
    if-eqz v1, :cond_1

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v2

    if-lez v2, :cond_1

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v2

    if-gtz v2, :cond_2

    :cond_1
    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_2
    invoke-virtual {v0, v1}, Lcom/sina/weibo/sdk/api/ImageObject;->b(Landroid/graphics/Bitmap;)V

    invoke-virtual {v0, v1}, Lcom/sina/weibo/sdk/api/ImageObject;->a(Landroid/graphics/Bitmap;)V

    goto :goto_0
.end method


# virtual methods
.method public a(Lcom/sina/weibo/sdk/api/a/e;)V
    .locals 4

    const/4 v2, 0x1

    iget v0, p1, Lcom/sina/weibo/sdk/api/a/e;->b:I

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    invoke-direct {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->c()V

    return-void

    :pswitch_0
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    if-eqz v0, :cond_1

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    iget v1, p0, Lcom/xingbook/park/activity/SNSShareActivity;->a:I

    invoke-interface {v0, v1}, Lcom/xingbook/park/activity/bm;->a(I)V

    :goto_1
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    if-eqz v0, :cond_0

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/park/activity/bj;

    invoke-direct {v1, p0}, Lcom/xingbook/park/activity/bj;-><init>(Lcom/xingbook/park/activity/SNSShareActivity;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0

    :cond_1
    const-string v0, "\u5206\u4eab\u6210\u529f"

    invoke-static {p0, v0, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_1

    :pswitch_1
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    if-eqz v0, :cond_2

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    iget v1, p0, Lcom/xingbook/park/activity/SNSShareActivity;->a:I

    invoke-interface {v0, v1}, Lcom/xingbook/park/activity/bm;->b(I)V

    :goto_2
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    if-eqz v0, :cond_0

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/park/activity/bk;

    invoke-direct {v1, p0}, Lcom/xingbook/park/activity/bk;-><init>(Lcom/xingbook/park/activity/SNSShareActivity;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0

    :cond_2
    const-string v0, "\u53d6\u6d88\u5206\u4eab"

    invoke-static {p0, v0, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_2

    :pswitch_2
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    if-eqz v0, :cond_3

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    iget v1, p0, Lcom/xingbook/park/activity/SNSShareActivity;->a:I

    iget v2, p1, Lcom/sina/weibo/sdk/api/a/e;->b:I

    iget-object v3, p1, Lcom/sina/weibo/sdk/api/a/e;->c:Ljava/lang/String;

    invoke-interface {v0, v1, v2, v3}, Lcom/xingbook/park/activity/bm;->a(IILjava/lang/String;)V

    :goto_3
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    if-eqz v0, :cond_0

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/park/activity/bl;

    invoke-direct {v1, p0}, Lcom/xingbook/park/activity/bl;-><init>(Lcom/xingbook/park/activity/SNSShareActivity;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0

    :cond_3
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u5206\u4eab\u5931\u8d25:"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p1, Lcom/sina/weibo/sdk/api/a/e;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "("

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v1, p1, Lcom/sina/weibo/sdk/api/a/e;->b:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ")"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_3

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method

.method public a(Z)V
    .locals 4

    const/4 v1, 0x1

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    if-eqz v0, :cond_1

    if-eqz p1, :cond_0

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    iget v1, p0, Lcom/xingbook/park/activity/SNSShareActivity;->a:I

    invoke-interface {v0, v1}, Lcom/xingbook/park/activity/bm;->c(I)V

    :goto_0
    invoke-direct {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->c()V

    :goto_1
    return-void

    :cond_0
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    iget v1, p0, Lcom/xingbook/park/activity/SNSShareActivity;->a:I

    const/16 v2, -0x3e8

    const-string v3, "\u5206\u4eab\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01"

    invoke-interface {v0, v1, v2, v3}, Lcom/xingbook/park/activity/bm;->a(IILjava/lang/String;)V

    goto :goto_0

    :cond_1
    if-eqz p1, :cond_2

    const-string v0, "\u60a8\u6ca1\u6709\u5b89\u88c5\u5fae\u4fe1\u6216\u8005\u5fae\u4fe1\u7248\u672c\u592a\u4f4e\uff0c\u5b89\u88c5\u5fae\u4fe1\u540e\u518d\u5206\u4eab\u5427\uff01"

    invoke-static {p0, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    :goto_2
    invoke-direct {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->c()V

    goto :goto_1

    :cond_2
    const-string v0, "\u5206\u4eab\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01"

    invoke-static {p0, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_2
.end method

.method public e()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u5206\u4eab\u65b9\u5f0f\u9009\u62e9"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 8

    const/16 v4, 0x200

    const/16 v3, 0x100

    const/16 v7, 0x8

    const/4 v6, 0x1

    const/4 v5, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const/4 v1, 0x2

    if-ne v0, v1, :cond_6

    iput v6, p0, Lcom/xingbook/park/activity/SNSShareActivity;->a:I

    sget-object v0, Lcom/xingbook/c/n;->a:Lcom/tencent/mm/sdk/openapi/e;

    if-eqz v0, :cond_5

    new-instance v0, Lcom/tencent/mm/sdk/openapi/WXWebpageObject;

    invoke-direct {v0}, Lcom/tencent/mm/sdk/openapi/WXWebpageObject;-><init>()V

    sget-object v1, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v1, v1, Lcom/xingbook/c/q;->e:Ljava/lang/String;

    iput-object v1, v0, Lcom/tencent/mm/sdk/openapi/WXWebpageObject;->webpageUrl:Ljava/lang/String;

    new-instance v2, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;

    invoke-direct {v2, v0}, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;-><init>(Lcom/tencent/mm/sdk/openapi/r;)V

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v0, v0, Lcom/xingbook/c/q;->c:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gt v0, v3, :cond_3

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v0, v0, Lcom/xingbook/c/q;->c:Ljava/lang/String;

    iput-object v0, v2, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;->title:Ljava/lang/String;

    :goto_0
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v0, v0, Lcom/xingbook/c/q;->d:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gt v0, v4, :cond_4

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v0, v0, Lcom/xingbook/c/q;->d:Ljava/lang/String;

    iput-object v0, v2, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;->description:Ljava/lang/String;

    :goto_1
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    invoke-virtual {v0}, Lcom/xingbook/c/q;->a()Landroid/graphics/Bitmap;

    move-result-object v0

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f020209

    invoke-static {v0, v1}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    :cond_0
    const/high16 v1, 0x4700

    invoke-static {v0, v1}, Lcom/xingbook/c/k;->a(Landroid/graphics/Bitmap;F)Landroid/graphics/Bitmap;

    move-result-object v1

    if-eqz v1, :cond_1

    move-object v0, v1

    :cond_1
    invoke-virtual {v2, v0}, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;->setThumbImage(Landroid/graphics/Bitmap;)V

    new-instance v0, Lcom/tencent/mm/sdk/openapi/k;

    invoke-direct {v0}, Lcom/tencent/mm/sdk/openapi/k;-><init>()V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    invoke-static {v3, v4}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/tencent/mm/sdk/openapi/k;->a:Ljava/lang/String;

    iput-object v2, v0, Lcom/tencent/mm/sdk/openapi/k;->b:Lcom/tencent/mm/sdk/openapi/WXMediaMessage;

    iput v5, v0, Lcom/tencent/mm/sdk/openapi/k;->c:I

    iget-object v1, p0, Lcom/xingbook/park/activity/SNSShareActivity;->b:Lcom/tencent/mm/sdk/openapi/f;

    sput-object v1, Lcom/xingbook/park/wxapi/WXEntryActivity;->a:Lcom/tencent/mm/sdk/openapi/f;

    sget-object v1, Lcom/xingbook/c/n;->a:Lcom/tencent/mm/sdk/openapi/e;

    invoke-interface {v1, v0}, Lcom/tencent/mm/sdk/openapi/e;->a(Lcom/tencent/mm/sdk/openapi/a;)Z

    move-result v0

    if-nez v0, :cond_2

    invoke-virtual {p0, v5}, Lcom/xingbook/park/activity/SNSShareActivity;->a(Z)V

    :cond_2
    :goto_2
    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->f:Lcom/xingbook/ui/XbShareView;

    invoke-virtual {v0, v7}, Lcom/xingbook/ui/XbShareView;->setVisibility(I)V

    :goto_3
    return-void

    :cond_3
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v0, v0, Lcom/xingbook/c/q;->c:Ljava/lang/String;

    invoke-virtual {v0, v5, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v2, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;->title:Ljava/lang/String;

    goto :goto_0

    :cond_4
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v0, v0, Lcom/xingbook/c/q;->d:Ljava/lang/String;

    invoke-virtual {v0, v5, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v2, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;->description:Ljava/lang/String;

    goto :goto_1

    :cond_5
    invoke-virtual {p0, v6}, Lcom/xingbook/park/activity/SNSShareActivity;->a(Z)V

    goto :goto_2

    :cond_6
    const/4 v1, 0x3

    if-ne v0, v1, :cond_d

    const/4 v0, 0x2

    iput v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->a:I

    sget-object v0, Lcom/xingbook/c/n;->a:Lcom/tencent/mm/sdk/openapi/e;

    if-eqz v0, :cond_c

    new-instance v0, Lcom/tencent/mm/sdk/openapi/WXWebpageObject;

    invoke-direct {v0}, Lcom/tencent/mm/sdk/openapi/WXWebpageObject;-><init>()V

    sget-object v1, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v1, v1, Lcom/xingbook/c/q;->e:Ljava/lang/String;

    iput-object v1, v0, Lcom/tencent/mm/sdk/openapi/WXWebpageObject;->webpageUrl:Ljava/lang/String;

    new-instance v2, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;

    invoke-direct {v2, v0}, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;-><init>(Lcom/tencent/mm/sdk/openapi/r;)V

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v0, v0, Lcom/xingbook/c/q;->c:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gt v0, v3, :cond_a

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v0, v0, Lcom/xingbook/c/q;->c:Ljava/lang/String;

    iput-object v0, v2, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;->title:Ljava/lang/String;

    :goto_4
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v0, v0, Lcom/xingbook/c/q;->d:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gt v0, v4, :cond_b

    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v0, v0, Lcom/xingbook/c/q;->d:Ljava/lang/String;

    iput-object v0, v2, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;->description:Ljava/lang/String;

    :goto_5
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    invoke-virtual {v0}, Lcom/xingbook/c/q;->a()Landroid/graphics/Bitmap;

    move-result-object v0

    if-nez v0, :cond_7

    invoke-virtual {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f020209

    invoke-static {v0, v1}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    :cond_7
    const/high16 v1, 0x4700

    invoke-static {v0, v1}, Lcom/xingbook/c/k;->a(Landroid/graphics/Bitmap;F)Landroid/graphics/Bitmap;

    move-result-object v1

    if-eqz v1, :cond_8

    move-object v0, v1

    :cond_8
    invoke-virtual {v2, v0}, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;->setThumbImage(Landroid/graphics/Bitmap;)V

    new-instance v0, Lcom/tencent/mm/sdk/openapi/k;

    invoke-direct {v0}, Lcom/tencent/mm/sdk/openapi/k;-><init>()V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    invoke-static {v3, v4}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/tencent/mm/sdk/openapi/k;->a:Ljava/lang/String;

    iput-object v2, v0, Lcom/tencent/mm/sdk/openapi/k;->b:Lcom/tencent/mm/sdk/openapi/WXMediaMessage;

    iput v6, v0, Lcom/tencent/mm/sdk/openapi/k;->c:I

    iget-object v1, p0, Lcom/xingbook/park/activity/SNSShareActivity;->b:Lcom/tencent/mm/sdk/openapi/f;

    sput-object v1, Lcom/xingbook/park/wxapi/WXEntryActivity;->a:Lcom/tencent/mm/sdk/openapi/f;

    sget-object v1, Lcom/xingbook/c/n;->a:Lcom/tencent/mm/sdk/openapi/e;

    invoke-interface {v1, v0}, Lcom/tencent/mm/sdk/openapi/e;->a(Lcom/tencent/mm/sdk/openapi/a;)Z

    move-result v0

    if-nez v0, :cond_9

    invoke-virtual {p0, v5}, Lcom/xingbook/park/activity/SNSShareActivity;->a(Z)V

    :cond_9
    :goto_6
    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->f:Lcom/xingbook/ui/XbShareView;

    invoke-virtual {v0, v7}, Lcom/xingbook/ui/XbShareView;->setVisibility(I)V

    goto/16 :goto_3

    :cond_a
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v0, v0, Lcom/xingbook/c/q;->c:Ljava/lang/String;

    invoke-virtual {v0, v5, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v2, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;->title:Ljava/lang/String;

    goto :goto_4

    :cond_b
    sget-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v0, v0, Lcom/xingbook/c/q;->d:Ljava/lang/String;

    invoke-virtual {v0, v5, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v2, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;->description:Ljava/lang/String;

    goto :goto_5

    :cond_c
    invoke-virtual {p0, v6}, Lcom/xingbook/park/activity/SNSShareActivity;->a(Z)V

    goto :goto_6

    :cond_d
    const/4 v1, 0x4

    if-ne v0, v1, :cond_e

    const/4 v0, 0x3

    iput v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->a:I

    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    const-string v1, "req_type"

    invoke-virtual {v0, v1, v6}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    const-string v1, "title"

    sget-object v2, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v2, v2, Lcom/xingbook/c/q;->c:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "summary"

    sget-object v2, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v2, v2, Lcom/xingbook/c/q;->d:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "targetUrl"

    sget-object v2, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v2, v2, Lcom/xingbook/c/q;->e:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "imageUrl"

    sget-object v2, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v2, v2, Lcom/xingbook/c/q;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putStringArrayList(Ljava/lang/String;Ljava/util/ArrayList;)V

    sget-object v1, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v2, Lcom/xingbook/park/activity/bi;

    invoke-direct {v2, p0, v0}, Lcom/xingbook/park/activity/bi;-><init>(Lcom/xingbook/park/activity/SNSShareActivity;Landroid/os/Bundle;)V

    invoke-interface {v1, v2}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto/16 :goto_3

    :cond_e
    const/4 v1, 0x5

    if-ne v0, v1, :cond_12

    const/4 v0, 0x4

    iput v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->a:I

    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->c:Lcom/sina/weibo/sdk/api/a/i;

    invoke-interface {v0}, Lcom/sina/weibo/sdk/api/a/i;->b()Z

    move-result v0

    if-eqz v0, :cond_11

    new-instance v0, Lcom/sina/weibo/sdk/api/h;

    invoke-direct {v0}, Lcom/sina/weibo/sdk/api/h;-><init>()V

    invoke-direct {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->d()Lcom/sina/weibo/sdk/api/TextObject;

    move-result-object v1

    iput-object v1, v0, Lcom/sina/weibo/sdk/api/h;->a:Lcom/sina/weibo/sdk/api/TextObject;

    invoke-direct {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->f()Lcom/sina/weibo/sdk/api/ImageObject;

    move-result-object v1

    if-eqz v1, :cond_f

    iput-object v1, v0, Lcom/sina/weibo/sdk/api/h;->b:Lcom/sina/weibo/sdk/api/ImageObject;

    :cond_f
    new-instance v1, Lcom/sina/weibo/sdk/api/a/k;

    invoke-direct {v1}, Lcom/sina/weibo/sdk/api/a/k;-><init>()V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/sina/weibo/sdk/api/a/k;->a:Ljava/lang/String;

    iput-object v0, v1, Lcom/sina/weibo/sdk/api/a/k;->b:Lcom/sina/weibo/sdk/api/h;

    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->c:Lcom/sina/weibo/sdk/api/a/i;

    invoke-interface {v0, v1}, Lcom/sina/weibo/sdk/api/a/i;->a(Lcom/sina/weibo/sdk/api/a/d;)Z

    move-result v0

    if-nez v0, :cond_10

    invoke-direct {p0, v5}, Lcom/xingbook/park/activity/SNSShareActivity;->b(Z)V

    :cond_10
    :goto_7
    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->f:Lcom/xingbook/ui/XbShareView;

    invoke-virtual {v0, v7}, Lcom/xingbook/ui/XbShareView;->setVisibility(I)V

    goto/16 :goto_3

    :cond_11
    invoke-direct {p0, v6}, Lcom/xingbook/park/activity/SNSShareActivity;->b(Z)V

    goto :goto_7

    :cond_12
    const/4 v1, 0x6

    if-ne v0, v1, :cond_14

    const/4 v0, 0x5

    iput v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->a:I

    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    const-string v1, "req_type"

    invoke-virtual {v0, v1, v6}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    const-string v1, "title"

    sget-object v2, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v2, v2, Lcom/xingbook/c/q;->c:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "summary"

    sget-object v2, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v2, v2, Lcom/xingbook/c/q;->d:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "targetUrl"

    sget-object v2, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v2, v2, Lcom/xingbook/c/q;->e:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "imageUrl"

    sget-object v2, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    iget-object v2, v2, Lcom/xingbook/c/q;->f:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "appName"

    invoke-virtual {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f080013

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v1, p0, Lcom/xingbook/park/activity/SNSShareActivity;->e:Lcom/tencent/tauth/c;

    if-nez v1, :cond_13

    const-string v1, "100970050"

    invoke-virtual {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/tencent/tauth/c;->a(Ljava/lang/String;Landroid/content/Context;)Lcom/tencent/tauth/c;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/park/activity/SNSShareActivity;->e:Lcom/tencent/tauth/c;

    :cond_13
    iget-object v1, p0, Lcom/xingbook/park/activity/SNSShareActivity;->e:Lcom/tencent/tauth/c;

    invoke-static {}, Lcom/xingbook/park/activity/HomeActivity;->a()Landroid/app/Activity;

    move-result-object v2

    iget-object v3, p0, Lcom/xingbook/park/activity/SNSShareActivity;->i:Lcom/tencent/tauth/b;

    invoke-virtual {v1, v2, v0, v3}, Lcom/tencent/tauth/c;->a(Landroid/app/Activity;Landroid/os/Bundle;Lcom/tencent/tauth/b;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->f:Lcom/xingbook/ui/XbShareView;

    invoke-virtual {v0, v7}, Lcom/xingbook/ui/XbShareView;->setVisibility(I)V

    goto/16 :goto_3

    :cond_14
    invoke-direct {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->c()V

    goto/16 :goto_3
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    const-string v0, "498147149"

    invoke-static {p0, v0}, Lcom/sina/weibo/sdk/api/a/q;->a(Landroid/content/Context;Ljava/lang/String;)Lcom/sina/weibo/sdk/api/a/i;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->c:Lcom/sina/weibo/sdk/api/a/i;

    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->c:Lcom/sina/weibo/sdk/api/a/i;

    invoke-interface {v0}, Lcom/sina/weibo/sdk/api/a/i;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->c:Lcom/sina/weibo/sdk/api/a/i;

    invoke-interface {v0}, Lcom/sina/weibo/sdk/api/a/i;->c()Z

    :cond_0
    const-string v0, "100970050"

    invoke-virtual {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/tencent/tauth/c;->a(Ljava/lang/String;Landroid/content/Context;)Lcom/tencent/tauth/c;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->e:Lcom/tencent/tauth/c;

    const-string v0, "wx7b44c2f05cfcf1be"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/tencent/mm/sdk/openapi/o;->a(Landroid/content/Context;Ljava/lang/String;Z)Lcom/tencent/mm/sdk/openapi/e;

    move-result-object v0

    sput-object v0, Lcom/xingbook/c/n;->a:Lcom/tencent/mm/sdk/openapi/e;

    sget-object v0, Lcom/xingbook/c/n;->a:Lcom/tencent/mm/sdk/openapi/e;

    const-string v1, "wx7b44c2f05cfcf1be"

    invoke-interface {v0, v1}, Lcom/tencent/mm/sdk/openapi/e;->a(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    const/4 v0, 0x0

    sput-object v0, Lcom/xingbook/c/n;->a:Lcom/tencent/mm/sdk/openapi/e;

    :cond_1
    new-instance v0, Landroid/widget/RelativeLayout;

    invoke-direct {v0, p0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->h:Landroid/widget/RelativeLayout;

    new-instance v0, Lcom/xingbook/ui/XbShareView;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/XbShareView;-><init>(Landroid/app/Activity;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->f:Lcom/xingbook/ui/XbShareView;

    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->h:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/xingbook/park/activity/SNSShareActivity;->f:Lcom/xingbook/ui/XbShareView;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->h:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->h:Landroid/widget/RelativeLayout;

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/SNSShareActivity;->setContentView(Landroid/view/View;)V

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->d:Lcom/xingbook/c/q;

    sput-object v0, Lcom/xingbook/park/activity/SNSShareActivity;->g:Lcom/xingbook/park/activity/bm;

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onDestroy()V

    return-void
.end method

.method protected onNewIntent(Landroid/content/Intent;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onNewIntent(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->c:Lcom/sina/weibo/sdk/api/a/i;

    invoke-interface {v0, p1, p0}, Lcom/sina/weibo/sdk/api/a/i;->a(Landroid/content/Intent;Lcom/sina/weibo/sdk/api/a/h;)Z

    return-void
.end method

.method protected onPause()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->a(Landroid/content/Context;)V

    return-void
.end method

.method protected onResume()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->b(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/SNSShareActivity;->f:Lcom/xingbook/ui/XbShareView;

    invoke-virtual {v0}, Lcom/xingbook/ui/XbShareView;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/park/activity/SNSShareActivity;->finish()V

    :cond_0
    return-void
.end method
